The UUCPGate is a CommuniGate communication module supporting e-mail message transfer using the uucp protocol and regular modem connections; uucp communications do not require a direct Internet connection (i.e. they do not use the TCP/IP protocol).
The UUCPGate module supports multi-line communications and it can support connections with several other uucp systems (so your CommuniGate system can be a network provider for other uucp e-mail systems).
The UUCPGate module can work together with the SMTPGate module providing both TCP/IP and UUCP Internet e-mail. The CommuniGate Router takes care of directing messages to the proper gate.
The latest version can be found at:
http://www.stalker.com
or
ftp://ftp.stalker.com
Installation
Place the UUCPGate module into the Modules folder that has been created inside the CommuniGate Folder in your System Folder. Restart the CommuniGate Server (by restarting the MacOS on that computer).
Configuring
After the UUCP module is placed in the Modules folder on the server computer, you can configure it from any workstation that has the "can configure" privilege.
• Choose UUCP Gate from the Monitor section of the Server menu.
• When the UUCP Monitor window appears, choose "Service Settings…" from the UUCPGate menu. Enter the uucp "host name" (also called "system name") in the "system name" field. If you use a network provider, this name should be assigned to you by that company. You may want to use the "Mail coding" menu to make UUCPGate convert message texts from the Mac OS coding to the coding used in your national network. Remember that some mail hosts still support only standard ASCII character sets (7-bit data), so national symbols will be lost when mail comes through those hosts.
• Choose Add Line from the UUCP Gate menu. Select the "host descriptor" radio button and enter the UUCP system name of the host you want to make connections to. Your network provider should inform you about the UUCP system name of their host. Click Create, and the Host record should appear in the UUCPGate Monitor window.
• Select Line Settings… from the UUCPGate menu. The Host Settings dialog box should appear.
• Select the "Call this Host" option, and enter the login name and password to be used when connecting to this host. Your network provider should inform you about the login name and the password assigned to you. Actually, there is a table of several string pairs: the left column contains the prompts UUCPGate expects to receive from the host, the right column contains the strings it will send as answers. You may want not only enter the strings to be used with the "login:" and "password:" prompt, but also the prompt strings. For example, if the host uses the "username:" prompt instead of "login:", you should modify the string in the left column. Some hosts require an additional string to be sent in response to a prompt before or after the "login" prompt. For example, if the host sends the prompt message "anex:", and then requires the string "uucp" to be entered, you should enter "anex:" and "uucp" in the first row of the table, and put the login and password strings in the second and the third rows. The administartor of each host will provide you with the information about the prompts and answers strings to be used.
All strings in the left column should be in the low case (actual strings read from the host will be converted to the low case letters). Strings in the right column can contain special symbols specified using two-character combinations: \n - Line Feed ($0A), \r - Return ($0D), \t- Tab ($09). To include the backslash symbol itself, use the \\ combination. All strings in the right column are sent with the Return symbol added at the end. If the Return symbol should not be added, add the backslash symbol at the end of the string.
• The table on the bottom part of the dialog box contains the call schedule for this host. Use the Add.../Remove/Edit buttons to create and modify the schedule. Each entry contains the time period you want to call this host (for example, 23:00-06:00 can be used to allow calls at night time only), how often you want to call this host if the server does not have any message to deliver (i.e. how often do you want to poll the host to get mail from it), and how often you want to call this host if you have mail to be delivered to that host. The last field contains the phone number to be used. Enter the phone number in the same format as used with fax and voice numbers, i.e. with the area code (see the Dialer chapter in the CommuniGate Server manual).
• Select the "Use this host as Mail Server", if this host is your network provider host. The CommuniGate Server router tries to find a path to route each message submitted to the Server. If this option is selected, all mail messages that can not be routed using some explicit rules (see the Routing chapter) will be routed to this host via uucp. You select this option when this uucp host is your link to the Internet: it will get all messages from you via uucp and deliver them to recipeints via Internet, i.e. it will work as your Mail Server.
If this option is NOT selected, messages will go to this uucp host only if they are directed to that host explicitly (i.e. if a recipient address is xxx@hostname or hostname!xxx or xxx@hostname.uucp), or if routing to this host is defined in the Routing & Alias table (see the Routing chapter).
• Don't turn the "Supports long data block" option on. Try with this option turned off, and when you are sure that communication with the host is reliable, try to turn this option on. The "Fixed data block size"
option should be on. When you see that you uucp connections with the host work fine, you may try to set it off: it will increase overall performance when you transfer small files.
• If the mail clients used on this UUCP host cannot process MIME, select the "This host cannot use MIME" option: letters will be sent in non-MIME format. The Attachments encoding method could change (see the Internet Mail chapter of the CommuniGate System Guide).
• If you make UUCP connections not only with your network provider host (or Mail Server), but with other systems as well (acting as a network provider for them, for example), you may create more host descriptors. If some of those systems are expected to call your system, you should check the "This host calls in" option. You should assign a login name/password pair to that host, and inform that host's postmaster, so she/he can configure their system.
• Choose the "Add Line" from the UUCPGate menu and select the "Communication Line" option. The menu appears and lists the serial ports available on the server computer. The LineShare ports are shown in bold. The ports currently in use with other applications and/or modules have their names dimmed. Select the serial port you want to use for UUCP connections and click "Create". The Line monitor appears in the UUCPGate Monitor window.
• Since the UUCP Gate Monitor window has several entries now, you have to select an entry in order to configure it. Click to select the communication line entry, then choose Line Settings from the UUCPGate menu.
• Set the operation mode for this line. When a line is configured to receive incoming calls, the UUCPGate keeps the serial port open all the time. You may want to use a LineShare port if you want to use the same line for other purposes: faxing, outgoing data calls, etc. If the line is configured for "outgoing only", the UUCPGate opens the port only during calls, and waits if the port is in use with some other application amd/or module.
• Set the log level.
Note: if you select the "All Info" log level, the log file will become very large very soon and the system may operate slowly when a uucp connection is in progress.
• Set the port speed to be used. Don't put the speed to high: it can cause problems on slower machines. Start with 19200, and try to increase the speed later, watching the performance and the number of errors.
Note: if you use a LineShare port, the LineShare script may configure the port to use a different speed.
• You may want to enter additional AT-commands to be used with the modem connected to the serial port. If you do enter those commands, DO NOT add the "AT" prefix, i.e. you may enter a string like this one:
L3M3\N0
• If you have several modems to be used for UUCP, create more Communication Lines using the "Add Line" menu item, and configure them.
Troubleshooting
If you see that UUCPGates tries to call a host, but it cannot connect, or it cannot negotiate with that host, switch the log level for the CommuniCation Line to "Low-Level Info" or "All Info". After the next attempt, switch logging back and examine the log. If you still cannot find the source of the problem, and the administrator of the host you call cannot help either, copy that part of the log and e-mail it to support@stalker.com with the detailed description of the problem as you see it. Include the information about the versions of your CommuniGate Server and UUCPGate.
Special e-mail addresses
There are some certain types of e-mail addresses that are detected by the UUCPGate module itself and routed to uucp hosts:
messages with addresses of type xxxxx@bbbb.uucp will be routed to the uucp host "bbbb"
messages with addresses of type xxxxx@bbbb or bbbb!xxxxx where bbbb has no period signs (.) will be routed to the uucp host "bbbb".
messages addressed to the user "uucp" on the local machine are directed to the user "Postmaster".
Revision History
1.9
• The special symbols (\n, \r, \t) can be used in the outgoing login strings.
• The This Host cannot use MIME option is supported.
• More information is included into the Received By header field.
• More Server service functions are used.
1.8.2
• The Return-Path (From ) header composing algorithm is corrected.
1.8
• The CommuniGate Server 2.0 services (MIME, codings, etc) are supported now.
• Mail Coding option is removed (it is in the General Server Settings now).
• The bug in reading passwords for incoming calls is fixed.
• The rmail command is formed using the "@" sign, not the "%" sign.
1.7.1
• The "Call" and "Poll" periods can be set to "never" now.
• Updating the Line and Host Settings cancels that line/host suspensions.
1.7
• UUCPGate employs the CommuniGate Server E-mail converter (the previous versions used the converter built into the UUCPGate). It allows to support mail coding and other RFC-format related features.
• The memory leak bug fixed: incoming messages could result in abandoned short blocks (return-paths) in memory, decreasing the "Largest Unused Block" size shown in Finder.
• The bug that could cause failures with the -43 error code was fixed.
1.6
• The number of string pairs that you can enter for logging into a remote server is increased to 6.
• The serial ports processing is now compatible with PCI/Open Transport serial drivers.
1.5.3
• The X-file commands are processed properly even if the line order is incorrect.
• The bug causing crashes on 68000 machines when creating a new line is fixed.
1.5.2
• The bug causing crashes on some machines when displaying the list of serial ports is fixed.
• Some minor internal enhancements.
1.5:
• When receiving incoming calls, UUCPGate waits for 30, not 15 seconds for the CONNECT message to appear.
• Creating and processing RFC headers has been moved to the CommuniGate Server kernel.
• The first From line is now processed to create the Return-Path address.
• The Use as Mail Server option allows to specify the uucp link to direct all WAN-mail.
• Both "g" and "G" protocols are supported. With "g" protocol smaller blocks are used when possible to improve the service messages exchange speed. The "Fixed Size data blocks" options can be used to force using "G" protocol.
• Encoding/decoding tables are supported to convert Mac symbols to other codings used on Internet.
• uucp file names are converted to avoid problems when other uucp hosts use lowercase and uppercase letters in file names.
1.4:
• Port Speed can be selected explicitly.
• Buffering has been improved, so long data blocks can be used even on slower machines.
• Return-Receipt-To, MessageID, X-Cover and X-Voice-System header fields are now supported.
• The "supports long blocks" option is now enabled.
• Bug fix: the CLOSE packets are always sent at the end of sessions.
• Bug fix: "short data blocks" are generated correctly now.
1.3:
• In the "Send Only" mode, UUCP Gate takes the serial port only when it places a call. So, you do not have to use a LineShare "Data Port" if you don't want to receive incoming uucp calls.
• When connection fails, the module suspends either the "Communication Line" or the "Host" depending on the type of the problem that occured.
1.2:
• Special AT-command settings do not require an AT prefix itself.
• UUCP "From" line is corrected, and now can contain the name of the local user.
• Licensing Key support is implemented
• The "Bcc:" message has changed to "X-Bcc:" to avoid problems with "smart" Unix hosts that remove "Bcc:" (UUCPGate sends separate copies to each "Bcc" address).
1.1:
• Special AT-command settings added.
• The prompt-response table for outgoing calls is implemented.